package com.jic.veteran.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class CmsArticleInfo implements Serializable {
  @ApiModelProperty(value = "PK")
  private Long id;

  @ApiModelProperty(value = "文章标题")
  private String articleTitle;

  @ApiModelProperty(value = "是否展示")
  private Boolean isShow;

  @ApiModelProperty(value = "发布时间,隐藏时为空")
  private Date publishTime;

  @ApiModelProperty(value = "文章类型：banner,news,ads")
  private String articleType;

  @ApiModelProperty(value = "文章图片")
  private String previewImg;

  @ApiModelProperty(value = "删除标识")
  private Boolean deleteStatus;

  @ApiModelProperty(value = "创建人")
  private String createBy;

  @ApiModelProperty(value = "创建时间")
  private Date createTime;

  @ApiModelProperty(value = "修改人")
  private String modifyBy;

  @ApiModelProperty(value = "修改时间")
  private Date modifyTime;

  @ApiModelProperty(value = "文章内容")
  private String articleContent;

  private static final long serialVersionUID = 1L;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getArticleTitle() {
    return articleTitle;
  }

  public void setArticleTitle(String articleTitle) {
    this.articleTitle = articleTitle;
  }

  public Boolean getIsShow() {
    return isShow;
  }

  public void setIsShow(Boolean isShow) {
    this.isShow = isShow;
  }

  public String getArticleType() {
    return articleType;
  }

  public void setArticleType(String articleType) {
    this.articleType = articleType;
  }

  public String getPreviewImg() {
    return previewImg;
  }

  public void setPreviewImg(String previewImg) {
    this.previewImg = previewImg;
  }

  public Boolean getDeleteStatus() {
    return deleteStatus;
  }

  public void setDeleteStatus(Boolean deleteStatus) {
    this.deleteStatus = deleteStatus;
  }

  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getModifyBy() {
    return modifyBy;
  }

  public void setModifyBy(String modifyBy) {
    this.modifyBy = modifyBy;
  }

  public Date getModifyTime() {
    return modifyTime;
  }

  public void setModifyTime(Date modifyTime) {
    this.modifyTime = modifyTime;
  }

  public String getArticleContent() {
    return articleContent;
  }

  public void setArticleContent(String articleContent) {
    this.articleContent = articleContent;
  }

  public Date getPublishTime() {
    return publishTime;
  }

  public void setPublishTime(Date publishTime) {
    this.publishTime = publishTime;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append(getClass().getSimpleName());
    sb.append(" [");
    sb.append("Hash = ")
      .append(hashCode());
    sb.append(", id=")
      .append(id);
    sb.append(", articleTitle=")
      .append(articleTitle);
    sb.append(", isShow=")
      .append(isShow);
    sb.append(", publishTime=")
      .append(publishTime);
    sb.append(", articleType=")
      .append(articleType);
    sb.append(", previewImg=")
      .append(previewImg);
    sb.append(", deleteStatus=")
      .append(deleteStatus);
    sb.append(", createBy=")
      .append(createBy);
    sb.append(", createTime=")
      .append(createTime);
    sb.append(", modifyBy=")
      .append(modifyBy);
    sb.append(", modifyTime=")
      .append(modifyTime);
    sb.append(", articleContent=")
      .append(articleContent);
    sb.append(", serialVersionUID=")
      .append(serialVersionUID);
    sb.append("]");
    return sb.toString();
  }
}
